Automated Testing of C++ Templates

نویسندگان

  • Kirk Sayre
  • Jesse Poore
چکیده

The object-oriented design of software in C++ using class templates presents many advantages. However, testing template based C++ software involves some unique issues not usually faced in testing non-template based software. This paper will describe these testing issues and proposed solutions using an automated testing framework based on Markov chain usage models. The framework is being used to test a library of codes used in computational materials research.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An automatic test case generator for evaluating implementation of access control policies

One of the main requirements for providing software security is the enforcement of access control policies which aim to protect resources of the system against unauthorized accesses. Any error in the implementation of such policies may lead to undesirable outcomes. For testing the implementation of access control policies, it is preferred to use automated methods which are faster and more relia...

متن کامل

Using Automatic Failure Detection for Cognitive Agents in Eclipse: (Demonstration)

In order to reduce debugging effort and enable automated failure detection, we proposed an automated testing framework for cognitive agent programs that provides support for detecting frequently occurring failure types in [14]. Automated testing yields a reduction in the effort needed to detect a failure and is more effective than manual code inspection methods [16]. A failure is an event in wh...

متن کامل

Automating Failure Detection in Cognitive Agent Programs

Debugging is notoriously difficult and extremely time consuming but also essential for ensuring the reliability and quality of a software system. In order to reduce debugging effort and enable automated failure detection, we propose an automated testing framework for detecting failures in cognitive agent programs. Our approach is based on the assumption that modules within such programs are a n...

متن کامل

Automated Explanations for MDP Policies

Explaining policies of Markov Decision Processes (MDPs) is complicated due to their probabilistic and sequential nature. We present a technique to explain policies for factored MDP by populating a set of domain-independent templates. We also present a mechanism to determine a minimal set of templates that, viewed together, completely justify the policy. We demonstrate our technique using the pr...

متن کامل

Diagnosis of brain tumor using PNN neural networks

Cells grow and then need a very neat method to create new cells that work properly to maintain the health of the body. When the ability to control the growth of the cells is lost, they are unconsidered and often divided without order. Exemplified cells form a tissue mass called the tumor. In fact, brain tumors are abnormal and uncontrolled cell proliferations. Segmentation methods are used in b...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005